import { key } from "localforage";

export interface ApplicationOptions {
  canvasWidth?: number;
  canvasHeight?: number;
  testMode?: boolean;
}

export interface InterfacePainterAPI {
  renderImage: (imageUrl: string) => Promise<void>;
}

export enum ApplicationEvent {
  APPLICATION_LOAD = "APPLICATION_LOAD",
}

export interface FxItem {
  name: string;
  code: string;
  id?: string;
  [key: string]: any;
}